#pragma once


// DlgSysNewAdjustment dialog

#include "DlgAdjustmentHistogram.h"

class DlgSysNewAdjustment : public CDialog
{
	DECLARE_DYNAMIC(DlgSysNewAdjustment)

public:
	DlgSysNewAdjustment(CWnd* pParent = NULL);   // standard constructor
	virtual ~DlgSysNewAdjustment();

// Dialog Data
	enum { IDD = IDD_System_New_Adjustment };

public:
	DlgAdjustmentHistogram *m_pDlgAdjustHis;

private:
 	int m_nStep;
 	void ShowText(int nStep);
 
 	int  ExcuteOne();
 	int  ExcuteTwo();
 	int  ExcuteSave();

	void MyOK();

	void EnableParam(BOOL bEnable);

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedButLast();
	afx_msg void OnBnClickedButNext();
	afx_msg void OnBnClickedCancel();
	int m_nFrameCapCount;
	CComboBox m_ComboxPlus;
	CComboBox m_ComboxFrameSpeed;
	CComboBox m_ComboxPixelCount;
	afx_msg void OnBnClickedButLowvoltage();
	afx_msg void OnBnClickedButHighvoltage();
	afx_msg void OnBnClickedButSave();
	afx_msg void OnCbnSelchangeComboPixelMerge();
};
